package cn.itsource.mapper.blog;

import cn.itsource.iploading.IpAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IpAddressMapper {
    void decreStar(Integer id);

    void increStar(Integer id);

    List<String> findByArticleId(Integer id);

    void add(IpAddress ipAddress);

    void delByIpAndArticleId(IpAddress ipAddress);

    Integer countStar(Integer id);


}
